//
//  ACAlarmEditController.h
//  AlarmClock
//
//  Created by kai ren on 03/09/2011.
//  Copyright 2011 none. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ACBase.h"

@class ACAlarm;
@class ACAlarmEditController; 

//----------------------------------------------------------------------
@protocol ACAlarmEditControllerDelegate

- alarmEditController:(ACAlarmEditController *)alarmEditCtrl;

@end

//----------------------------------------------------------------------

@interface ACAlarmEditController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
	ACAlarm *alarm;
	UIDatePicker *datePicker;
	UITableView *_tableView;
}

@property (retain) UITableView *_tableView;

- (id)initWithAlarm:(ACAlarm *)_alarm;

- (void)cancelAction;

- (void)saveAction;

@end
